﻿using Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Repository
{
    public interface IUserRepository
    {
        Task<User> GetUser(User user);

        Task<List<User>> GetAllUsers();

		UserFenYe DataUser(int page, int pageSize);

        Task<bool> AddUser(User user);
		Task<bool> UpDateUser(User user);
		Task<bool> DeleteUser(int uid);
        Task<int> maxUId();
	}
}
